<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<style type="text/css">
.left-table {
	margin-left: 20px;
	font-size: 14px;
}

.right-table {
	font-size: 14px;
}
</style>

<div class="panel panel-primary">
	<div class="panel-heading">
		<h3 class="panel-title">本机环境信息列表</h3>
	</div>
	<div class="panel-body">
		<table class="table table-bordered table-striped table-condensed" width="40%" border="0" cellspacing="0"
			cellpadding="0">
			<tr>
				<td width="20%" class="left-table">操作系统类型:</td>
				<td width="20%" class="right-table"><div id="osType"></div></td>
			</tr>
			<tr>
				<td class="left-table">操作系统版本:</td>
				<td class="right-table"><div id="osVersion"></div></td>
			</tr>
			<tr>
				<td class="left-table">操作系统架构:</td>
				<td class="right-table"><div id="osArch"></div></td>
			</tr>
			<tr>
				<td class="left-table">可使用内存:</td>
				<td class="right-table"><div id="totalMemory"></div></td>
			</tr>
			<tr>
				<td class="left-table">剩余内存:</td>
				<td class="right-table"><div id="freeMemory"></div></td>
			</tr>
			<tr>
				<td class="left-table">最大可使用内存:</td>
				<td class="right-table"><div id="maxMemory"></div></td>
			</tr>
			<tr>
				<td class="left-table">总的物理内存:</td>
				<td class="right-table"><div id="totalMemorySize"></div></td>
			</tr>
			<tr>
				<td class="left-table">剩余的物理内存:</td>
				<td class="right-table"><div id="freePhysicalMemorySize"></div></td>
			</tr>
			<tr>
				<td class="left-table">已使用的物理内存:</td>
				<td class="right-table"><div id="usedMemory"></div></td>
			</tr>
			<tr>
				<td class="left-table">线程总数:</td>
				<td class="right-table"><div id="totalThread"></div></td>
			</tr>
			<!-- <tr>
				<td class="left-table">CPU使用率:</td>
				<td class="right-table"><div id="cpuRatio"></div></td>
			</tr> -->
		</table>
	</div>
</div>

<script type="text/javascript">
	new window.mofang.moniter.machineInfo().init();
</script>